package com.yun.zf.common.admin.dto.community;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class CommunityStatisticalDto {

    @ApiModelProperty(value = "小区ID")
    private Long communityId;
    @ApiModelProperty(value = "在租、售数量")
    private int total;
    @ApiModelProperty(value = "小区均价，指二手房均价")
    private BigDecimal averagePrice;
    @ApiModelProperty(value = "类型1租房、2二手房")
    private int type;
    @ApiModelProperty(value = "最小面积")
    private BigDecimal minArea;
    @ApiModelProperty(value = "最大面积")
    private BigDecimal maxArea;
    @ApiModelProperty(value = "最低价格")
    private BigDecimal minPrice;
    @ApiModelProperty(value = "最高价格")
    private BigDecimal maxPrice;
    @ApiModelProperty(value = "价格单位")
    private String priceUnit;
}
